package com.changgou.test;

public class test11 {
    public static void main(String[] args) {

        String str = "shanhuo";
        String[] split = str.split("-");
        System.out.println(split[0]);
        System.out.println(split[1]);

    }
}
